package com.hyk.learning.common.utils;

/**
 * @className: RuntimeUtil
 * @author: hyk199710
 * @description: TODO
 * @date: 2024/5/18 16:30
 */
public class RuntimeUtil {
    public static int cpus() {
        return Runtime.getRuntime().availableProcessors();
    }
}
